import request from '@/utils/request'

// 查询银行列表
export function bankList(query) {
  return request({
    url: '/config/bank/list',
    method: 'get',
    params: query
  })
}

// 添加银行
export function bankAdd(data) {
  return request({
    url: '/config/bank/add',
    method: 'POST', 
    data: data
  })
}
// 编辑银行
export function bankEdit(data) {
  return request({
    url: '/config/bank/edit',
    method: 'POST',
    data: data
  })
}

// 删除银行
export function bankDelBatch(data) {
  return request({
    url: '/config/bank/delBatch',
    method: 'POST',
    data: data
  })
}